package JasPerl::JSTL::Fmt::TimeZoneTag;

use 5.010;
use strict;
use warnings;

use parent qw(JasPerl::TagExt::JspBodyTag);

use JasPerl::Util::TimeZone;

sub set_value {
    $_[0]->{value} = JasPerl::Util::TimeZone->from($_[1]);
}

sub get_time_zone {
    return $_[0]->{value};
}

sub do_tag {
    my $self = shift;
    # TODO: require value
    $self->SUPER::do_tag();
}

1;
